Contribution org.nuxeo.ecm.platform.audit.web--actions
In component org.nuxeo.ecm.platform.audit.web
org.nuxeo.ecm.platform.audit.web
inside nuxeo-platform-audit-client-6.0.jar
This contribution is part of XML component Documentation
Contribute a new action related to document history.
Extension Point
Extension point actions of component ActionService.Contributed Items
XML Source
<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
<documentation>
Contribute a new action related to document history.
</documentation>
<action enabled="true" icon="/icons/file.gif" id="TAB_CONTENT_HISTORY" label="action.view.history" link="/incl/tabs/document_history.xhtml" order="100" type="rest_document_link">
<category>VIEW_ACTION_LIST</category>
<filter-id>TAB_CONTENT_HISTORY_has_subtabs</filter-id>
</action>
<action enabled="true" icon="/icons/file.gif" id="TAB_EVENTS" label="action.view.events" link="/incl/tabs/document_events_cv.xhtml" order="50" type="rest_document_link">
<category>TAB_CONTENT_HISTORY_sub_tab</category>
<filter-id>view_content_history</filter-id>
</action>
<action enabled="true" icon="/icons/file.gif" id="TAB_EVENTS_PROXY" label="action.view.events" link="/incl/tabs/document_events_cv.xhtml" order="50" type="rest_document_link">
<category>TAB_CONTENT_HISTORY_sub_tab</category>
<filter-id>view_proxy_history</filter-id>
<filter-id>only_for_manager</filter-id>
</action>
<action enabled="true" icon="/icons/file.gif" id="TAB_VERSIONS" label="action.view.versions" link="/incl/tabs/document_versions.xhtml" order="100" type="rest_document_link">
<category>TAB_CONTENT_HISTORY_sub_tab</category>
<filter-id>versionable</filter-id>
</action>
<!-- Version actions -->
<action id="VIEW_VERSION" label="command.viewArchivedVersion" link="#{versionedActions.viewArchivedVersion}" order="10">
<category>VERSION_LIST_ITEM</category>
</action>
<action id="RESTORE_VERSION" label="command.restore" link="#{versionedActions.restoreToVersion}" order="20">
<category>VERSION_LIST_ITEM</category>
<filter-id>canRestoreVersion</filter-id>
</action>
<action confirm="if( !confirmDeleteDocuments() ) return false;" id="CURRENT_VERSION_SELECTION_DELETE" label="command.removeSelectedArchivedVersions" link="#{versionedActions.removeSelectedArchivedVersions}" order="10">
<category>CURRENT_VERSION_SELECTION_LIST</category>
<filter-id>canDeleteCurrentVersionSelection</filter-id>
</action>
</extension>